package sanrenxing.dayEnd.backRepertoryTotal.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sanrenxing.dayEnd.backRepertoryTotal.dao.ShareDao;
import sanrenxing.dayEnd.backRepertoryTotal.domain.Share;
import sanrenxing.dayEnd.backRepertoryTotal.service.ShareService;

import java.util.List;

@Service
public class ShareServiceImpl implements ShareService {
    @Autowired
    private ShareDao shareDao;

    @Override
    public List<Share> selectByPage(int start, int end) {
        return shareDao.selectByPage(start,end);
    }

    @Override
    public int count() {
        return shareDao.count();
    }
}
